
import request from '@/utils/request'

// -------- 图片、视频文件夹管理 --------

let BASE_ADDRESS = '/work/folder'


//添加
export const getfolderAddAPi = (data) => {
    return request({
        url: `${BASE_ADDRESS}/add`,
        method: 'post',
        data
    })
}

//查询文件里的图片
export const getfolderListFolderPhotoAPi = (data) => {
    return request({
        url: `${BASE_ADDRESS}/listFolderPhoto`,
        method: 'get',
        params: data
    })
}

//id查询
export const getfolderGetInfoAPi = (data) => {
    return request({
        url: `${BASE_ADDRESS}/getInfo`,
        method: 'get',
        params: data
    })
}

//列表查询
export const getfolderListAPi = (data) => {
    return request({
        url: `${BASE_ADDRESS}/list`,
        method: 'get',
        params: data
    })
}


//删除
export const getfolderRemoveAPi = (data) => {
    return request({
        url: `${BASE_ADDRESS}/remove`,
        method: 'delete',
        data
    })
}

//修改
export const getfoldeEditAPi = (data) => {
    return request({
        url: `${BASE_ADDRESS}/edit`,
        method: 'put',
        data
    })
}